package merchant.service;

import java.util.Map;

import merchant.dao.ChargeDAO;
import merchant.dao.RecordOfCharge;
import hackathon1212.ServletPojoAdapter;

public class ShowRoc extends ServletPojoAdapter {

	private static final long serialVersionUID = 6619304162729385727L;

	protected RecordOfCharge getBusinessMethod(Map<String, String[]> params){
		final long rocId = Long.parseLong(params.get("rocId")[0]);
		return ChargeDAO.get().getROCById(rocId);
	}
	
}
